/*
 * Author:        Pierre-Henry Soria <ph7software@gmail.com>
 * Copyright:     (c) 2012-2020, Pierre-Henry Soria. All Rights Reserved.
 * License:       MIT License; See LICENSE.md and COPYRIGHT.md in the root directory.
 */

/* Change the color of the menu links */
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover,
.dropdown-menu > li > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    font-size: 13px;
    color: #08c;
}

/* Do some changes when the menu is toggled */
@media screen and (max-width: 767px) {
    /* Align the text to center only */
    .navbar-default .navbar-nav > li > a,
    .dropdown-menu > li > a {
        text-align: center;
    }

    /* Add gray stripes to separate each main drop-down menu */
    .navbar-default .navbar-nav > li {
        border-top: 1px solid #dfdfdf;
    }

    /* Change size for the sub-sub drop-down menus for better distinction */
    .navbar-default .navbar-nav .open .dropdown-menu > li > ul > li > a {
        font-size: 11px;
    }
}

/* Rewrite some CSS classes for Bootstrap's fixed menu to give a better render with the design */
.navbar-default {
    border-color: #ccc !important;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: none;
}

/* Change the padding space between each drop-down menu */
.nav > li > a {
    padding: 10px 9px;
}

/* Amend the default minimum height of the navbar */
.navbar {
    min-height: 45px !important;
}

/* Bottom menu */
.bottom_nav {
    float: right;
}

.bottom_nav a {
    text-decoration: underline;
}
